public class Derived extends Base{
    int a;
    int b;
    public void methodA(int a){
        System.out.println("Derived中的methodA(int a)方法");
    }

    public void methodB(){
        System.out.println("Derived中的methodB()方法");
    }
    public void methodC(){
        a = 100;
        b = 101;
        super.a = 200;
        super.b = 201;
        methodA();
        methodA(20);
        methodB();
        super.methodB();
    }
}

//public class Derived extends Base{
//    int a;
//    char b;
//    public void method(){
//        a = 100;
//        b = 101;
//        c = 102;
//        //d = 103;
//    }
//}


//public class Derived extends Base {
//
//
//    //    int c;
////    public void method(){
////        a = 10;
////        b = 20;
////        c = 30;
////    }
//}
